﻿<%@ Page Title="Ingresar a Correo Social" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Ingresar.aspx.cs" Inherits="CorreoSocialWeb.Ingresar" Async="true" %>
<%@ Register TagPrefix="nav" TagName="Navegador" Src="~/Controls/NavegadorUserControl.ascx" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">

    <nav:navegador runat="server" id="NavegadorUserControl" /> 

        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>

    <asp:Panel ID="PanelTitulo" runat="server">
        <table style="width:100%;" id="TableTituloYBoton">
            <tr>
                <td style="height: 21px">
                    <h2>
                        <asp:Label ID="LabelTitulo" runat="server">Ingresar a CorreoSocial</asp:Label>
                    </h2>
                </td>
            </tr>
            <tr>
                <td style="height: 50px">
                    <h4>
                        <asp:Label ID="LabelError" runat="server" CssClass="text-danger"></asp:Label>
                    </h4>
                </td>
            </tr>
        </table>
    </asp:Panel>
   
    <asp:Panel ID="PanelForm" runat="server">

        <table id="TableForm" style="width:100%">

            <tr>
                <td style="padding: 5px; text-align: right; vertical-align: top;" colspan="2">
                    <asp:Label runat="server" AssociatedControlID="TextBoxEmail" CssClass="control-label" ID="LabelEmail">Usuario/Email</asp:Label>
                </td>
                <td colspan="2" style="vertical-align: top">
                    <asp:TextBox runat="server" ID="TextBoxEmail" CssClass="form-control" />
                </td>
            </tr>
            <tr>
                <td style="padding: 5px; text-align: right; vertical-align: top;" colspan="2">
                    <asp:Label runat="server" AssociatedControlID="TextBoxContrasenia" CssClass="control-label" ID="LabelPassword">Contraseña</asp:Label>
                </td>
                <td colspan="2" style="vertical-align: top" aria-busy="False">
                    <asp:TextBox runat="server" ID="TextBoxContrasenia" TextMode="Password" CssClass="form-control" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    
                </td>
                <td colspan="2">
                    <asp:CheckBox runat="server" ID="CheckBoxRecordarme" Text="Recordarme"/>
                </td>
            </tr>
            <tr>
                <td colspan="2"></td>
                <td colspan="2" style="text-align: center">
                    <asp:Button runat="server" Text="INGRESAR" CssClass="btn btn-primary btn-lg" ID="ButtonIngresar" OnClick="ButtonIngresar_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="4" style="height: 20px"></td>
            </tr>
            <tr>
                <td style="height: 20px" colspan="2" ></td>
                <td style="height: 20px; width: 25%"></td>
                <td style="height: 20px; width: 25%">
                    <table style="width:100%">
                        <tr>
                            <td style="text-align: center">
                                <asp:HyperLink ID="HyperLinkRegistrase" runat="server" ViewStateMode="Disabled" NavigateUrl="~/Registrate.aspx">Registrarse</asp:HyperLink>
                            </td>
                            <td style="text-align: right">
                                <asp:HyperLink runat="server" ID="HyperLinkOlvideContrasenia" ViewStateMode="Disabled" NavigateUrl="~/RestablecerContrasenia.aspx">Olvidé mi contraseña</asp:HyperLink>
                            </td>
                        </tr>
                    </table>

                </td>
            </tr>
        </table>
        
   </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
